import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path:'/layer',
    name:'layer',
    component: () => import("@/views/HomeView/LayerView.vue"),
    meta: {
      keepAlive: true
    },
  },{
    path:'/location',
    name:'location',
    component: () => import("@/views/HomeView/SearchView.vue")
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
